<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<!--
    <div class="userInfo2">          
        <div class="d1"><img src="${cpath}/${myfn:getPic(theForm.picID)}" width="74" height="60" class="icon  user_icon_2" /></div>
        <div class="d2">${theForm.nick}</div>
        <div class="d3">
           <p><b>ID:</b>${theForm.userID}</p>
           <p><b>所在社区：</b>${myfn:getCnpcaName(theForm.work_sublocation)}${myfn:getCnpcaName(theForm.work_area)}  ${myfn:getVillageName(theForm.villageID)}小区</p>
           <p><b>积分：</b> ${sysinfo.integral}<b>勋章:</b>
			<c:if test="${sysinfo.level == 1}"><img src="${cpath}/icon/zixin.gif"  height=14>&nbsp;普通会员</c:if>
			<c:if test="${sysinfo.level == 2}"><img src="${cpath}/icon/star.png"  height=14>&nbsp;高级会员</c:if>
			<c:if test="${sysinfo.level == 3}"><img src="${cpath}/icon/king.png" height=14>&nbsp;荣誉会员</c:if>  
		   </p>
        </div>
    </div>  
-->
<script type="text/javascript" src="${cpath}/js/HttpController.js"></script>
  <a class="pic" href="#"><b></b><img src="${cpath}/${myfn:getPic(theForm.picID)}" width="64" height="64"/></a>
  <h2>${theForm.nick}</h2>
  
  <table>
  <tr>
  <td>
  <p class="f14"> <strong>ID:</strong>${theForm.userID}</br>
    <strong>所在社区：</strong>${myfn:getCnpcaName(theForm.work_sublocation)}${myfn:getCnpcaName(theForm.work_area)}  ${myfn:getVillageName(theForm.villageID)}小区<br/>
    <strong>积分：</strong>${sysinfo.integral} <strong>勋章：</strong>
	<c:if test="${sysinfo.level == 1}"><img class="bq" src="${cpath}/icon/pthy.gif"  >&nbsp;普通会员</c:if>
	<c:if test="${sysinfo.level == 2}"><img class="bq" src="${cpath}/icon/gjhy.png"  >&nbsp;高级会员</c:if>
	<c:if test="${sysinfo.level == 3}"><img class="bq" src="${cpath}/icon/hg2.png" >&nbsp;荣誉会员</c:if>  	
  </p>
  </td>
  
  <td align="center" valign="top">
  <a href="${cpath}/msg.do?action=list&qryReceiver=${userID}&queryType=privateMsg"><font color="red" size="3">您有 ${msgNum} 条私聊请求。</font></a>
  </td>
  
  </tr>
  </table>
  
  <script>

function setMsgNum(result) {
alert(result);
}

var httpController = new HttpController('${cpath}/msg.do?action=getMsgNum','get',setMsgNum);
//httpController.executeHttp();
/*
setTimeout(function() {
	httpController.executeHttp();
}, 100);
  
 */ 
  </script>
  
  
  